package com.feeyo.monitor.mapper;

import com.feeyo.monitor.domain.Crossing;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CrossingMapper {
    int deleteByPrimaryKey(String id);

    int insert(Crossing record);

    int insertSelective(Crossing record);

    Crossing selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Crossing record);

    int updateByPrimaryKey(Crossing record);

    List<Crossing> selectByAirport(String airport);

    int updateDeleteStatus(String id);
}